//
//  MainDataBase.m
//  MyIOSTools
//
//  Created by chenxin on 12-12-3.
//  Copyright (c) 2012年 xin chen. All rights reserved.
//

#import "MainDataBase.h"

@implementation MainDataBase
@synthesize db;
static MainDataBase *sharedManager=nil ;
+(MainDataBase *)getInstance{
	@synchronized(self){
		if(sharedManager ==nil){
			sharedManager=[[self alloc] init];
		}
	}
	return sharedManager;
}

-(id)init{
	if (self=[super init]) {
    }return self;}
@end
